package com.showgood.socket 
{
	import com.showgood.vo.BaseVO;
	import flash.utils.ByteArray;
	/**
	 * ...
	 * @author BianPeng
	 */
	public class AbstractSocketCommand {
		private var _stamp:int;
		private var _flag:int;
		private var _message:int;
		
		public function AbstractSocketCommand(message:int, stamp:int,flag:int)  {
			_message = message;
			_stamp = stamp;
			_flag = flag;
		}
		public function stamp():int {
			return _stamp;
		}
		protected function setMessage(val:int): void {
			_message  = val;
		}
		public function message():int {
			return _message;
		}
		protected function setFlag(val:int): void {
			_flag = val;
		}
		public function flag():int {
			return _flag;
		}
		public function pack(byteArray:ByteArray):void {
			// IN CHILD
		}
		public function unpack(byteArray:ByteArray):void {
			// IN CHILD
		}
	}

}


